package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "recurring")
public class Recurring {
    @Id
    @Column(name = "recurring_id")
    private Integer recurringId;

    private BigDecimal price;

    private String frequency;

    private Integer duration;

    private Integer cycle;

    @Column(name = "trial_status")
    private Byte trialStatus;

    @Column(name = "trial_price")
    private BigDecimal trialPrice;

    @Column(name = "trial_frequency")
    private String trialFrequency;

    @Column(name = "trial_duration")
    private Integer trialDuration;

    @Column(name = "trial_cycle")
    private Integer trialCycle;

    private Byte status;

    @Column(name = "sort_order")
    private Integer sortOrder;
}